using Imaginarium.effect;
using System;
using System.Xml;
namespace Imaginarium.team
{
    public class ActiveSpecialState:ICloneable
    {
        public float timeLeft { get; set; }
        public SpecialState specialState { get; set; }

        public ActiveSpecialState()
        {

        }
        public ActiveSpecialState(ActiveSpecialState detSpecialStateToClone) {
            ActiveSpecialState dSSTC = detSpecialStateToClone; //alias

        }
        public ActiveSpecialState(XmlElement element) { 
        
        }

        #region ICloneable Members

        public object Clone()
        {
            Type type = this.GetType();
            ActiveSpecialState newDetailSpecialState = (ActiveSpecialState)Activator.CreateInstance(type);
            newDetailSpecialState.timeLeft = this.timeLeft;
            newDetailSpecialState.specialState = this.specialState;
            return newDetailSpecialState;
        }

        #endregion
    }
}